//
//  NSCharacterSet+RWAdditions.h
//  iconstruction-ios
//
//  Created by Ray on 2024/2/2.
//  Copyright © 2024 81SK. All rights reserved.
//

#import <Foundation/Foundation.h>

/**
 常用字符集解析
 
 URLUserAllowedCharacterSet：
    !$&'()*+,-.0123456789;=ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~
 
 URLPasswordAllowedCharacterSet：
    !$&'()*+,-.0123456789;=ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~
 
 URLHostAllowedCharacterSet：
    !$&'()*+,-.0123456789:;=ABCDEFGHIJKLMNOPQRSTUVWXYZ[]_abcdefghijklmnopqrstuvwxyz~
 
 URLPathAllowedCharacterSet：
    !$&'()*+,-./0123456789:=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~
 
 URLQueryAllowedCharacterSet：
    !$&'()*+,-./0123456789:;=?@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~
 
 URLFragmentAllowedCharacterSet：
    !$&'()*+,-./0123456789:;=?@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~

 */

@interface NSCharacterSet (RWAdditions)

/// 字符集转字符串
- (NSString *)characterSetString;

@end
